from django.urls import path, re_path
from .views import CourseCategoryListAPIView, CourseListAPIView, CourseRetrieveAPIView, ChapterListAPIView

urlpatterns = [

    path('courses_category/', CourseCategoryListAPIView.as_view()),
    path('courses/', CourseListAPIView.as_view()),
    re_path("(?P<pk>\d+)", CourseRetrieveAPIView.as_view()),
    path('chapter/', ChapterListAPIView.as_view()),

]
